package com.wwl.cms.utils.designModeTest.observer;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/13 19:32
 * @description:
 */
public class Client {
    public static void main(String[] args) {
        CurrentConditions currentConditions = new CurrentConditions();
        WeatherData weatherData = new WeatherData(currentConditions);
        weatherData.setData(30,150,40);
        System.out.println("================天气变化===========");
        weatherData.setData(40,160,20);
    }
}
